package com.lvyq.qrobot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lvyq.qrobot.entity.SysGiftPack;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author lvyq
 * @version 1.0
 * Create by 2024-05-31 9:47
 */
@Mapper
public interface SysGiftPackMapper extends BaseMapper<SysGiftPack> {


    @Select("select * from sys_gift_pack where level = #{level}")
    SysGiftPack getInfoByLevel (@Param("level") Integer level);
}
